package com.hfi.ood.atmsimulator.transaction;

import com.hfi.ood.atmsimulator.Atm;

/**
 * @author ChangLiang
 * @date 2020/5/21
 */
public class DoNothingTx implements Transaction {
    @Override
    public boolean preProcess(Atm atm) {
        return false;
    }

    @Override
    public void doTransaction(Atm atm) {

    }

    @Override
    public boolean postProcess(Atm atm) {
        return false;
    }

    @Override
    public String toString() {
        return "DoNothingTx{}";
    }
}
